package hongcheng.code_generator.entity.config;

/**
 * 	dao层java代码生成配置
 * */
public class DaoJavaConfig {
	/**
	 * 	是否生成count统计数量方法
	 * */
	private boolean isCreateCountMethod = true;
	/**
	 * 	count统计数量方法的自定义方法名
	 * */
	private String countMethodName = "count";
	/**
	 * 	是否生成getAllPage分页获取所有记录方法
	 * */
	private boolean isCreateGetAllPageMethod = true;
	/**
	 * 	getAllPage分页获取所有记录方法的自定义方法名
	 * */
	private String getAllPageMethodName = "listAllPage";
	/**
	 * 	是否生成getAll获取所有记录方法
	 * */
	private boolean isCreateGetAllMethod = true;
	/**
	 * 	getAll获取所有记录方法的自定义方法名
	 * */
	private String getAllMethodName = "listAll";
	/**
	 * 	是否生成getOneById根据主键获取单个
	 * */
	private boolean isCreateGetOneByIdMethod = true;
	/**
	 * 	getOneById根据主键获取单个的自定义方法名
	 * */
	private String getOneByIdMethodName = "getById";
	/**
	 * 	是否生成insertAllField全字段新增
	 * */
	private boolean isCreateInsertAllFieldMethod = true;
	/**
	 * 	insertAllField全字段新增的自定义方法名
	 * */
	private String insertAllFieldMethodName = "insert";
	/**
	 * 	是否生成insertNotNullField非空字段新增
	 * */
	private boolean isCreateInsertNotNullFieldMethod = true;
	/**
	 * 	insertNotNullField非空字段新增的自定义方法名
	 * */
	private String insertNotNullFieldMethodName = "insertSelective";
	/**
	 * 	是否生成updateAllField根据主键全字段更新
	 * */
	private boolean isCreateUpdateAllFieldMethod = true;
	/**
	 * 	updateAllField根据主键全字段更新的自定义方法名
	 * */
	private String updateAllFieldMethodName = "updateById";
	/**
	 * 	是否生成updateNotNullField根据主键非空字段更新
	 * */
	private boolean isCreateUpdateNotNullFieldMethod = true;
	/**
	 * 	updateNotNullField根据主键非空字段更新的自定义方法名
	 * */
	private String updateNotNullFieldMethodName = "updateSelectiveById";
	/**
	 * 	是否生成deleteById根据主键删除（物理删除）
	 * */
	private boolean isCreateDeleteByIdMethod = true;
	/**
	 * 	deleteById根据主键删除（物理删除）的自定义方法名
	 * */
	private String deleteByIdMethodName = "deleteById";
	
	
	
	public boolean getIsCreateCountMethod() {
		return isCreateCountMethod;
	}
	public String getCountMethodName() {
		return countMethodName;
	}
	public boolean getIsCreateGetAllPageMethod() {
		return isCreateGetAllPageMethod;
	}
	public String getGetAllPageMethodName() {
		return getAllPageMethodName;
	}
	public boolean getIsCreateGetAllMethod() {
		return isCreateGetAllMethod;
	}
	public String getGetAllMethodName() {
		return getAllMethodName;
	}
	public boolean getIsCreateGetOneByIdMethod() {
		return isCreateGetOneByIdMethod;
	}
	public String getGetOneByIdMethodName() {
		return getOneByIdMethodName;
	}
	public boolean getIsCreateInsertAllFieldMethod() {
		return isCreateInsertAllFieldMethod;
	}
	public String getInsertAllFieldMethodName() {
		return insertAllFieldMethodName;
	}
	public boolean getIsCreateInsertNotNullFieldMethod() {
		return isCreateInsertNotNullFieldMethod;
	}
	public String getInsertNotNullFieldMethodName() {
		return insertNotNullFieldMethodName;
	}
	public boolean getIsCreateUpdateAllFieldMethod() {
		return isCreateUpdateAllFieldMethod;
	}
	public String getUpdateAllFieldMethodName() {
		return updateAllFieldMethodName;
	}
	public boolean getIsCreateUpdateNotNullFieldMethod() {
		return isCreateUpdateNotNullFieldMethod;
	}
	public String getUpdateNotNullFieldMethodName() {
		return updateNotNullFieldMethodName;
	}
	public boolean getIsCreateDeleteByIdMethod() {
		return isCreateDeleteByIdMethod;
	}
	public String getDeleteByIdMethodName() {
		return deleteByIdMethodName;
	}
	public void setIsCreateCountMethod(boolean isCreateCountMethod) {
		this.isCreateCountMethod = isCreateCountMethod;
	}
	public void setCountMethodName(String countMethodName) {
		this.countMethodName = countMethodName;
	}
	public void setIsCreateGetAllPageMethod(boolean isCreateGetAllPageMethod) {
		this.isCreateGetAllPageMethod = isCreateGetAllPageMethod;
	}
	public void setGetAllPageMethodName(String getAllPageMethodName) {
		this.getAllPageMethodName = getAllPageMethodName;
	}
	public void setIsCreateGetAllMethod(boolean isCreateGetAllMethod) {
		this.isCreateGetAllMethod = isCreateGetAllMethod;
	}
	public void setGetAllMethodName(String getAllMethodName) {
		this.getAllMethodName = getAllMethodName;
	}
	public void setIsCreateGetOneByIdMethod(boolean isCreateGetOneByIdMethod) {
		this.isCreateGetOneByIdMethod = isCreateGetOneByIdMethod;
	}
	public void setGetOneByIdMethodName(String getOneByIdMethodName) {
		this.getOneByIdMethodName = getOneByIdMethodName;
	}
	public void setIsCreateInsertAllFieldMethod(boolean isCreateInsertAllFieldMethod) {
		this.isCreateInsertAllFieldMethod = isCreateInsertAllFieldMethod;
	}
	public void setInsertAllFieldMethodName(String insertAllFieldMethodName) {
		this.insertAllFieldMethodName = insertAllFieldMethodName;
	}
	public void setIsCreateInsertNotNullFieldMethod(boolean isCreateInsertNotNullFieldMethod) {
		this.isCreateInsertNotNullFieldMethod = isCreateInsertNotNullFieldMethod;
	}
	public void setInsertNotNullFieldMethodName(String insertNotNullFieldMethodName) {
		this.insertNotNullFieldMethodName = insertNotNullFieldMethodName;
	}
	public void setIsCreateUpdateAllFieldMethod(boolean isCreateUpdateAllFieldMethod) {
		this.isCreateUpdateAllFieldMethod = isCreateUpdateAllFieldMethod;
	}
	public void setUpdateAllFieldMethodName(String updateAllFieldMethodName) {
		this.updateAllFieldMethodName = updateAllFieldMethodName;
	}
	public void setIsCreateUpdateNotNullFieldMethod(boolean isCreateUpdateNotNullFieldMethod) {
		this.isCreateUpdateNotNullFieldMethod = isCreateUpdateNotNullFieldMethod;
	}
	public void setUpdateNotNullFieldMethodName(String updateNotNullFieldMethodName) {
		this.updateNotNullFieldMethodName = updateNotNullFieldMethodName;
	}
	public void setIsCreateDeleteByIdMethod(boolean isCreateDeleteByIdMethod) {
		this.isCreateDeleteByIdMethod = isCreateDeleteByIdMethod;
	}
	public void setDeleteByIdMethodName(String deleteByIdMethodName) {
		this.deleteByIdMethodName = deleteByIdMethodName;
	}
	


}
